<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<f:view>
<head>
	<link rel="StyleSheet" type="text/css" href="style/estilo.css" media="screen" />
	<p:resources />
	<title>
		<ui:insert name="pageTitle">
			<h:outputText value="Thermo Search"/>
		</ui:insert>
	</title>
</head>
<body>
	<div id="base">
		<div id="meio">
			<h:form>
				<p:growl showDetail="true" id="growl"/>
				<p:panel header="Login">
					<h:panelGrid columns="3">
						<h:outputLabel value="Login: "/>
						<h:inputText value="#{indexBean.name}">
							<p:ajax event="keyup" update="growl" actionListener="#{indexBean.actionListener}"/>
						</h:inputText>
						<p:commandButton update="growl" actionListener="#{indexBean.actionListener}" value="Login"/>
					</h:panelGrid>
				</p:panel>
			</h:form>
		</div>	
	</div>
</body>
</f:view>
</html>